import request from "@/utils/request";
/**
 * 获取设备列表
 * @param params
 * @returns
 */
export function getmachineList(data) {
    return request({
      url: '/management/machine.machine/getList',
      method: 'post',
      data
    })
  }
  /**
 * 通过取货码查询活动信息
 * @param params
 * @returns
 */
export function getCodeMachine(data) {
  return request({
    url: '/management/activity.activity_pick/queryByCodeMachine',
    method: 'post',
    data
  })
}
 /**
 * 核销取货码
 * @param params
 * @returns
 */
 export function getUsePickCode(data) {
  return request({
    url: '/management/activity.activity_pick_code/usePickCode',
    method: 'post',
    data
  })
}
 
  